//package TestForCy.testMongo
//
//import PzxApplication
//import nbcp.base.utils.MyUtil
//import nbcp.db.mq.ScanCodeMq
//import org.junit.Test
//import org.junit.runner.RunWith
//import org.springframework.beans.factory.annotation.Autowired
//import org.springframework.boot.test.context.SpringBootTest
//import org.springframework.test.context.ContextConfiguration
//import org.springframework.test.context.junit4.SpringRunner
//import java.text.SimpleDateFormat
//import java.util.*
//
///**
// * Created by udi on 17-3-27.
// */
//
//
//@RunWith(SpringRunner::class)
//@SpringBootTest(classes = arrayOf(PzxApplication::class))
//class mqtest {
//
//    @Autowired
//    var scanCode: ScanCodeMq? = null;
//
//
//
//    @Test
//    fun test1(){
//        val map = mapOf("a" to 1, "b" to 2, "c" to 3)
//
//      /* for ((k,v) in map){
//           println("$k")
//       }*/
//
//        for(k in map){
//            println(k.key)
//        }
//    }
//}